from machine import Pin

for i in range(64):
    try:
        pin = Pin(i)
        print(f'GPIO{i}: OK')
    except:
        print(f'GPIO{i}: FAIL')
